package cl.jsoftlabs.gwt.soccer.server.persistence.entities;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the pais database table.
 * 
 */
@Entity
@Table(name="pais")
public class Pais implements Serializable {
	

	/**
	 * 
	 */
	private static final long serialVersionUID = 1662613425380264663L;

	@Id
	@Column(name="id_pais", unique=true, nullable=false)
	private Integer idPais;

	@Column(name="cod_dos", unique=true, length=2)
	private String codDos;

	@Column(name="cod_tres", unique=true, length=3)
	private String codTres;

	@Column(name="nombre_pais", length=100)
	private String nombrePais;
	
	@Column(name="boo_cod_visible")
	private Integer booCodVisible;

    public Pais() {
    }

	public Integer getIdPais() {
		return this.idPais;
	}

	public void setIdPais(Integer idPais) {
		this.idPais = idPais;
	}

	public String getCodDos() {
		return this.codDos;
	}

	public void setCodDos(String codDos) {
		this.codDos = codDos;
	}

	public String getCodTres() {
		return this.codTres;
	}

	public void setCodTres(String codTres) {
		this.codTres = codTres;
	}

	public String getNombrePais() {
		return this.nombrePais;
	}

	public void setNombrePais(String nombrePais) {
		this.nombrePais = nombrePais;
	}
	
	

	public Integer getBooCodVisible() {
		return booCodVisible;
	}

	public void setBooCodVisible(Integer booCodVisible) {
		this.booCodVisible = booCodVisible;
	}

	@Override
	public String toString() {
		return "Pais [idPais=" + idPais + ", codDos=" + codDos + ", codTres="
				+ codTres + ", nombrePais=" + nombrePais + "]";
	}

	
}